package com.blue.gateway.paycore.wxpay;

import com.blue.gateway.constant.Constants;

/**
 * @author xiaoyiming
 * @date 2020/5/4 20:44
 * @depiction
 */
public final class WxPayConstants extends Constants {
    public static String SUCCESS = "SUCCESS";

    public static final String FIELD_SIGN = "sign";
    public static final String FIELD_SIGN_TYPE = "sign_type";

    public static String TRADE_TYPE_JSAPI = "JSAPI"; //小程序
    public static String TRADE_TYPE_NATIVE = "NATIVE";
    public static String TRADE_TYPE_APP = "APP";
    public static String TRADE_TYPE_H5 = "MWEB";

    //统一下单
    public static String WX_PAY_GATEWAY = "https://api.mch.weixin.qq.com/pay/unifiedorder";
    //查询订单
    public static String WX_PAY_QUERY_GATEWAY = "https://api.mch.weixin.qq.com/pay/orderquery";
    //申请退款
    public static String WX_REFUND_GATEWAY = "https://api.mch.weixin.qq.com/secapi/pay/refund";
    //查询退款
    public static String WX_REFUND_QUERY_GATEWAY = "https://api.mch.weixin.qq.com/pay/refundquery";
    //下载交易账单
    public static String WX_DOWNLOAD_BILL_GATEWAY = "https://api.mch.weixin.qq.com/pay/downloadbill";

}
